Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add named color iterators and remove phf macro dependency #422

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

Ogeon
Copy link
Owner

@Ogeon Ogeon commented Nov 16, 2024

This brushes up the named module a bit:

  • Add iterators for entries, names and color values.
  • Switch to phf_codegen instead of the proc macro.
  • Remove the need for the "name_from_str" feature.

Closed Issues

Copy link

codecov bot commented Nov 16, 2024

Codecov Report

Attention: Patch coverage is 31.74603% with 43 lines in your changes missing coverage. Please review.

Project coverage is 82.61%. Comparing base (13c298d) to head (0e84996).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #422      +/-   ##
==========================================
- Coverage   82.78%   82.61%   -0.17%     
==========================================
  Files         130      130              
  Lines       20199    20254      +55     
  Branches    20199    20254      +55     
==========================================
+ Hits        16721    16733      +12     
- Misses       3340     3383      +43     
  Partials      138      138              
Components Coverage Δ
palette 82.66% <31.74%> (-0.18%) ⬇️
palette_derive 81.98% <ø> (ø)

Copy link

codspeed-hq bot commented Nov 16, 2024

CodSpeed Performance Report

Merging #422 will not alter performance

Comparing named_color_iterators (0e84996) with master (13c298d)

Summary

✅ 47 untouched benchmarks

@Ogeon
Copy link
Owner Author

Ogeon commented Nov 16, 2024

Oops

@Ogeon Ogeon reopened this Nov 16, 2024
@Ogeon Ogeon merged commit 8e22189 into master Nov 16, 2024
38 of 41 checks passed
@Ogeon Ogeon deleted the named_color_iterators branch November 16, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get a named color from a color value
1 participant